4D Chart v13CT Color to index |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Chart v13
CT Color to index
CT Color to index
CT Color to index returns the index of the color closest to color on the 4D color palette. For instance, if a particular shade of blue is specified, CT Color to index returns the closest shade of blue in the 4D palette. Colors on the 4D palette are numbered from 1 to 256. This example places the palette index of the color closest to red in the vColor variable: vColor:=CT Color to index(CT RGB to color(56683;2242;1698)) |
PROPERTIES
Product: 4D Chart
INDEX HISTORY
Created: 4D Chart 1 SEE ALSO
CT COLOR TO RGB |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||